﻿using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;

namespace T.FAS.Runtime.Metadata.Entity.Page
{
    /// <summary>
    /// Form
    /// </summary>
    [DataContract]
    [Serializable]
    public class PageForm : ICloneable
    {
        /// <summary>
        /// 主键
        /// </summary>
        [DataMember]
        public string ID { get; set; }
        /// <summary>
        /// PageID
        /// </summary>
        public string PageID { get; set; }
        /// <summary>
        /// 控件实例编码
        /// </summary>
        [DataMember]
        public string WidgetInstanceCode { get; set; }
        /// <summary>
        /// 数据源
        /// </summary>
        [DataMember]
        public string DataSource { get; set; }
        /// <summary>
        /// FormID
        /// </summary>
        [DataMember]
        public string FormID { get; set; }
        public object Clone()
        {
            return this.MemberwiseClone();
        }
    }
}
